#include "../TestLib/Interface.h"

void CallbackFunc::operator()(const char *data, int len)
{
    std::cout << "Function obj Calling OnResponse :";
    std::cout << std::string(data, len) << std::endl;
}

int main()
{
    CallbackFunc cb;
    GetRequest(cb);
    std::cout << "GetRequest end\n";


    getchar();
    std::cout << "-----------\n";
    return 0;
}